package com.example.musicbox.entity.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author : zhy
 * @since : 2022/8/1
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserDto {

    /**
     * 用户id
     */
    @JsonProperty(value = "uId")
    private Integer uId;

    /**
     * 用户姓名
     */
    @JsonProperty(value = "userName")
    private String userName;

    /**
     * 用户头像
     */
    @JsonProperty(value = "uPhoto")
    private String uPhoto;
}
